package com.zpy.pojo;

import lombok.*;

import java.util.Set;

@Getter
@Setter
public class Customer {
    private Integer id;
    private String name;

    private Set<Orders>orders;//一对多用集合

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
